# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=py3-adapt-parser
pkgver=0.3.5
pkgrel=0
pkgdesc="A text-to-intent parsing framework"
url="https://github.com/MycroftAI/adapt"
arch="noarch"
license="Apache-2.0"
depends="python3 py3-pyee"
makedepends="py3-setuptools"
source="https://pypi.python.org/packages/source/a/adapt-parser/adapt-parser-$pkgver.tar.gz
	relax-dep-requirements.patch
	"
options="!check" # No tests
builddir="$srcdir/adapt-parser-$pkgver"

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="44342b67a6e1960b67f0521a63ee4ba8c4723877e18e929acf9636557c572782f512f78f84089db74694359a3216d6c705fb12192cbeaf11d1f6735c95bd57ea  adapt-parser-0.3.5.tar.gz
6055bd60ad91d06645f45f7a4a4cabc74b514fc5f77ecb90e3d4b3fe265a4ea33cddd4cf3d6e0429ffb79d0f947ef42134d7bd954af146d402e47a084abea609  relax-dep-requirements.patch"
